using System;
using System.Collections.Generic;
using System.Text;

namespace UKVSTS.WebTestPlugins
{
    public class ScriptedParamException : ApplicationException
    {

        String m_ParamName;

        public ScriptedParamException(String message)
            : base(message)
        {
        }

        public ScriptedParamException(String message, String paramName)
            : base(message)
        {
            m_ParamName = paramName;
        }

        public ScriptedParamException(Exception innerException)
            : base(innerException.Message, innerException)
        {
        }

        public ScriptedParamException(String message, Exception innerException)
            : base(message, innerException)
        {
        }

        public ScriptedParamException(String message, String paramName, Exception innerException)
            : base(message, innerException)
        {
            m_ParamName = paramName;
        }

        public String ParamName
        {
            get { return m_ParamName; }
            set { m_ParamName = value; }
        }

    }
}
